package com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm;


import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 培训计划实体
 */
public class TrainingPlan extends BootstrapSearchBean implements Serializable
{
    // 计划id
    private String trainingId;
    // 计划名
    private String trainingName;
    // 状态 0 启用 1 停用
    private Short status;
    // 开始时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    // 结束时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    // 培训资料PATH
    private String trainingMaterialPath;
    // 培训材料id
    private String trainingMaterialId;
    // 关联考试ID
    private String testId;
    // 创建者id
    private String creatorId;
    // 创建时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    // 更新者id
    private String modifierId;
    // 更新时间
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;
    // 备注
    private String comments;
    // 创建者
    private String createName;
    // 更新者
    private String modName;
    // 培训材料名
    private String materialName;
    // 删除标记
    private int delFlag;
    // 选择人员的jsonTree
    private String jsonTree;

    public String getTrainingId() {
        return trainingId;
    }

    public void setTrainingId(String trainingId) {
        this.trainingId = trainingId == null ? null : trainingId.trim();
    }

    public String getTrainingName() {
        return trainingName;
    }

    public void setTrainingName(String trainingName) {
        this.trainingName = trainingName == null ? null : trainingName.trim();
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getTrainingMaterialPath() {
        return trainingMaterialPath;
    }

    public void setTrainingMaterialPath(String trainingMaterialPath) {
        this.trainingMaterialPath = trainingMaterialPath == null ? null : trainingMaterialPath.trim();
    }

    public String getTrainingMaterialId() {
        return trainingMaterialId;
    }

    public void setTrainingMaterialId(String trainingMaterialId) {
        this.trainingMaterialId = trainingMaterialId == null ? null : trainingMaterialId.trim();
    }

    public String getTestId() {
        return testId;
    }

    public void setTestId(String testId) {
        this.testId = testId == null ? null : testId.trim();
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId == null ? null : creatorId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifierId() {
        return modifierId;
    }

    public void setModifierId(String modifierId) {
        this.modifierId = modifierId == null ? null : modifierId.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments == null ? null : comments.trim();
    }

    public String getCreateName()
    {
        return createName;
    }

    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getModName()
    {
        return modName;
    }

    public void setModName(String modName)
    {
        this.modName = modName;
    }

    public String getMaterialName()
    {
        return materialName;
    }

    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public int getDelFlag()
    {
        return delFlag;
    }

    public void setDelFlag(int delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getJsonTree()
    {
        return jsonTree;
    }

    public void setJsonTree(String jsonTree)
    {
        this.jsonTree = jsonTree;
    }
}